package com.yunda.crypt;


/**
 * Created by Eenie on 2017/8/23.
 * Email: eeniework@gmail.com
 * Des:
 */

public class NativeEncryption {
    static {
        System.loadLibrary("YDEncryption");
    }

    public NativeEncryption() {
    }

    public static void Instance() {
    }


    public static native int JNI_EDCodeInstance(String host, int port, String token, String version, String publicKey);

    public static native int JNI_IDecrypt(String data, EDOutputData res);

    public static native int JNI_IEncrypt(String data, EDOutputData res);
}
